<?php
require_once('header.php');
?>

<ul>
<li>Upload files from local directory
<form enctype="multipart/form-data" action="uploader.php" method="POST">
<input type="hidden" name="MAX_FILE_SIZE" value="100000" />
Choose a file to upload: <input name="uploadedfile" type="file" /><br />
<input type="submit" value="Upload File" />
</form>
<?php 
if ($_SERVER['REMOTE_ADDR']==$_SERVER['SERVER_ADDR']) {
echo "<li>Add files from existing directory on the server (does not move files)";
}
?>
</ul>

<?php 
echo $_SERVER['REMOTE_ADDR'] . "<br>";
echo $_SERVER['SERVER_ADDR'];
?>


<?php
require_once('footer.php');
?>
